﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using TPA.DataAccess;

namespace TVProgramAnalyst
{
    static class TPAProgram
    {
        public static List<KeyPoint> _TimeLine;

        public static List<TPA.DataAccess.Program> _NewPrograms, _ExistingPrograms, _ConflictPrograms;
        public static List<TPA.DataAccess.Channel> _NewChannels, _ExistingChannels;
        public static string LastError;
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            _TimeLine = new List<KeyPoint>();
            _NewPrograms = new List<Program>();
            _ExistingPrograms = new List<Program>();
            _ConflictPrograms = new List<Program>();
            _ExistingChannels = new List<Channel>();
            _NewChannels = new List<Channel>();


            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());            
            //Application.Run(new Options.frmOptions());            
            //Application.Run(new ReportForm.frmReport());            
        }
    }
}
